package com.pandora.credit.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.sql.Timestamp;

/**
 * @author developer
 */
public class Announcement {
  private long id;
  private String title;
  private String subtitle;
  @JsonProperty("dest_url")
  private String destUrl;
  @JsonProperty("create_time")
  private Timestamp createTime;
  @JsonProperty("update_time")
  private Timestamp updateTime;
  private long mid;
  private int valid;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getSubtitle() {
    return subtitle;
  }

  public void setSubtitle(String subtitle) {
    this.subtitle = subtitle;
  }

  public String getDestUrl() {
    return destUrl;
  }

  public void setDestUrl(String destUrl) {
    this.destUrl = destUrl;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }

  public long getMid() {
    return mid;
  }

  public void setMid(long mid) {
    this.mid = mid;
  }

  public int getValid() {
    return valid;
  }

  public void setValid(int valid) {
    this.valid = valid;
  }
}
